\hypertarget{classutil_1_1_sampler}{
\section{util.Sampler Class Reference}
\label{classutil_1_1_sampler}\index{util::Sampler@{util::Sampler}}
}


Samples from a given distribution.  


\subsection*{Static Public Member Functions}
\begin{DoxyCompactItemize}
\item 
static int \hyperlink{classutil_1_1_sampler_a4e2ee0c6fb2b3d0b4a00b343d7b7abd7}{random} (double\mbox{[}$\,$\mbox{]} distribution)
\item 
static int \hyperlink{classutil_1_1_sampler_afe0711daf9addcddd966d27c76d870f2}{max} (double\mbox{[}$\,$\mbox{]} distribution)  throws Exception 
\item 
static Double \hyperlink{classutil_1_1_sampler_acdd822b847f093367a86856c14a3f33b}{maxScore} (double\mbox{[}$\,$\mbox{]} distribution)
\item 
static int \hyperlink{classutil_1_1_sampler_afad8757ed1399647aade410b6ad56b52}{weighted} (double\mbox{[}$\,$\mbox{]} distribution)  throws Exception 
\item 
static int \hyperlink{classutil_1_1_sampler_a38f40f85cf9153da04179721ecd1eb10}{explorationWeighted} (double\mbox{[}$\,$\mbox{]} distribution, double e)  throws Exception 
\end{DoxyCompactItemize}


\subsection{Detailed Description}
Samples from a given distribution. 

\subsection{Member Function Documentation}
\hypertarget{classutil_1_1_sampler_a38f40f85cf9153da04179721ecd1eb10}{
\index{util::Sampler@{util::Sampler}!explorationWeighted@{explorationWeighted}}
\index{explorationWeighted@{explorationWeighted}!util::Sampler@{util::Sampler}}
\subsubsection[{explorationWeighted}]{\setlength{\rightskip}{0pt plus 5cm}static int util.Sampler.explorationWeighted (
\begin{DoxyParamCaption}
\item[{double\mbox{[}$\,$\mbox{]}}]{distribution, }
\item[{double}]{e}
\end{DoxyParamCaption}
)  throws Exception \hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classutil_1_1_sampler_a38f40f85cf9153da04179721ecd1eb10}
\hypertarget{classutil_1_1_sampler_afe0711daf9addcddd966d27c76d870f2}{
\index{util::Sampler@{util::Sampler}!max@{max}}
\index{max@{max}!util::Sampler@{util::Sampler}}
\subsubsection[{max}]{\setlength{\rightskip}{0pt plus 5cm}static int util.Sampler.max (
\begin{DoxyParamCaption}
\item[{double\mbox{[}$\,$\mbox{]}}]{distribution}
\end{DoxyParamCaption}
)  throws Exception \hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classutil_1_1_sampler_afe0711daf9addcddd966d27c76d870f2}
\hypertarget{classutil_1_1_sampler_acdd822b847f093367a86856c14a3f33b}{
\index{util::Sampler@{util::Sampler}!maxScore@{maxScore}}
\index{maxScore@{maxScore}!util::Sampler@{util::Sampler}}
\subsubsection[{maxScore}]{\setlength{\rightskip}{0pt plus 5cm}static Double util.Sampler.maxScore (
\begin{DoxyParamCaption}
\item[{double\mbox{[}$\,$\mbox{]}}]{distribution}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classutil_1_1_sampler_acdd822b847f093367a86856c14a3f33b}
\hypertarget{classutil_1_1_sampler_a4e2ee0c6fb2b3d0b4a00b343d7b7abd7}{
\index{util::Sampler@{util::Sampler}!random@{random}}
\index{random@{random}!util::Sampler@{util::Sampler}}
\subsubsection[{random}]{\setlength{\rightskip}{0pt plus 5cm}static int util.Sampler.random (
\begin{DoxyParamCaption}
\item[{double\mbox{[}$\,$\mbox{]}}]{distribution}
\end{DoxyParamCaption}
)\hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classutil_1_1_sampler_a4e2ee0c6fb2b3d0b4a00b343d7b7abd7}
\hypertarget{classutil_1_1_sampler_afad8757ed1399647aade410b6ad56b52}{
\index{util::Sampler@{util::Sampler}!weighted@{weighted}}
\index{weighted@{weighted}!util::Sampler@{util::Sampler}}
\subsubsection[{weighted}]{\setlength{\rightskip}{0pt plus 5cm}static int util.Sampler.weighted (
\begin{DoxyParamCaption}
\item[{double\mbox{[}$\,$\mbox{]}}]{distribution}
\end{DoxyParamCaption}
)  throws Exception \hspace{0.3cm}{\ttfamily  \mbox{[}static\mbox{]}}}}
\label{classutil_1_1_sampler_afad8757ed1399647aade410b6ad56b52}


The documentation for this class was generated from the following file:\begin{DoxyCompactItemize}
\item 
src/util/\hyperlink{_sampler_8java}{Sampler.java}\end{DoxyCompactItemize}
